package com.ruoyi.business.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 设备类型树状结构查询请求DTO
 * 
 * @author ldkj
 * @date 2025-08-30
 */
@Data
public class EquipmentTypeTreeQueryDTO {

    /** 设备类型名称 */
    @NotBlank(message = "设备类型名称不能为空")
    private String equipmentTypeName;

    /** 是否包含变量信息，默认为true */
    private Boolean includeVariables = true;

    /** 是否包含空变量的设备类型，默认为true */
    private Boolean includeEmptyTypes = true;

    public EquipmentTypeTreeQueryDTO() {
    }

    public EquipmentTypeTreeQueryDTO(String equipmentTypeName) {
        this.equipmentTypeName = equipmentTypeName;
    }
}